﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace AsycServer
{
    /// <summary>
    /// 调试工具
    /// </summary>
    public partial class AsyUdpServer
    {
        public static class DebugInfo
        {
            public static bool upData = false;
            
            /// <summary>
            /// 是否开启接受日志
            /// </summary>
            public static bool downData = false;
            
            /// <summary>
            /// 是否开启加入日志
            /// </summary>
            public static bool acceptData = false;
        }
        
        List<string> debugMessageList = new List<string>();
        public void Debug(string s) { debugMessageList.Add(s); }
    }
}